package com.dankegongyu.customer.common.base.paging.test

import android.view.View
import android.view.ViewGroup
import com.dankegongyu.lib.common.widget.recyclerview.BaseAdapter
import com.dankegongyu.lib.common.widget.recyclerview.BaseViewHolder
import com.dankegongyu.lib.paging.RoomListItemBean

/**
 * @author wupuquan
 * @version 1.0
 * @since 2020/4/16 19:08
 */
class TestPagingAdapter(list: MutableList<RoomListItemBean>?) : BaseAdapter<RoomListItemBean>(list) {

    override fun onCreate(parent: ViewGroup): BaseViewHolder {
//        return BaseViewHolder(RoomItemCellV3(parent.context))
        return BaseViewHolder(View(parent.context))
    }

    override fun onBind(viewHolder: BaseViewHolder, position: Int, itemData: RoomListItemBean) {
//        (viewHolder.itemView as RoomItemCellV3).setData(itemData, position)
    }
}